home *** CD-ROM | disk | FTP | other *** search
- Path: news1.eznet.net!usenet
- From: Joe Mihalich <mihalich@eznet.net>
- Newsgroups: comp.lang.c++
- Subject: Re: MSVC++
- Date: Sat, 02 Mar 1996 12:57:47 -0500
- Organization: E-Znet Inc. Rochester N.Y. 14623 (716)-262-2485
- Message-ID: <31388C1B.365D@eznet.net>
- References: <4gt1s9$m7r@pixar.com>
- NNTP-Posting-Host: dialin-03.eznet.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win95; I)
-
- Shalini Govil wrote:
- >
- > Hi all
- >
- > I had purchased MSVC++ V1.0 a while back and had compiled some DLLS for use
- > with Visual Basic. This was all in 16 bit . Now I want to re-compile my DLLS
- > for 32 bit applications, and needed some guidance
- >
- > a> Will the 16 bit code compile verbatim as 32 bit?
- > b> MSVC++ V4.0 ONLY compiled in 32 bit. I was looking for something which would
- > compile both 16 bit and 32 bit. Any other compilers out there which could do
- > this?
- >
- > Thanks for your help
- >
- > Shalini
-
- Hi,
-
- Some 16 bit will not compile verbatim as 32 bit code in any compiler language
- for the PC. Any SDK specific calls that are not supported under win32 will
- obviously not compile under win32. Such things as Port opening/closing
- and reading/writing have to be completely rewritten.
-
- Unfortunately, Microsoft does not provide ONE package that will provide
- both a 16 and 32 bit compiler solution. Versions of MSVC up to 1.52 (16 bit)
- will provide a 16 bit compiler solution. 32 bit versions of MSVC are versions
- 2.0, 2.1, 2.2 and 4.0. HOWEVER, you can use the 32 bit compiler to write
- a program that will run under windows 3.1 with win32s running. You just have
- to make sure that the specific SDK function calls are supported under
- win32s.
-
- Hope this helps
- Joe Mihalich
- mihalich@eznet.net
-